package com.elias.share.utils;

import java.time.Instant;

public class InstantUtil {
    private InstantUtil() {
    }

    public static long calcIntervalMilis(Instant start) {
        return System.currentTimeMillis() - start.toEpochMilli();
    }
}
